//
//  ZYCElectiveLevelView.h
//  ZDSC
//
//  Created by ZDTX on 2021/7/23.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


typedef NS_ENUM(NSInteger, ZYCElectiveLevelType) {
    ZYCElectiveLevelTypePrimary  = 0,//小学部
    ZYCElectiveLevelTypeJunior//初中部
};

@protocol ZYCElectiveLevelViewDelegate <NSObject>

//选择类型
- (void)electiveLevelViewDidClick:(ZYCElectiveLevelType )type;

@end
// 部门选择
@interface ZYCElectiveLevelView : UIView

@property (nonatomic, assign) ZYCElectiveLevelType type;

@property (nonatomic, assign) id<ZYCElectiveLevelViewDelegate> delegate;
@end

NS_ASSUME_NONNULL_END
